package com.rs.game.player.dialogues;

import com.rs.utils.ShopsHandler;

public class Achievements extends Dialogue {

	@Override
	public void start() {
		player.sendAchievements();
		sendOptionsDialogue("Select an Option", "Open Shop", "Close");
	}

	@Override
	public void run(int interfaceId, int componentId) {
		switch (stage) {
		case -1:
			switch (componentId) {
			case OPTION_1:
				ShopsHandler.openShop(player, 9);
				end();
				break;
			case OPTION_2:
				player.closeInterfaces();
				end();
				break;
			}
			break;
		}
	}

	@Override
	public void finish() {
		// TODO Auto-generated method stub
		
	}

}
